﻿using Catel.Articles.Base.Data.Attributes;

namespace Catel.Articles._02___WPF_controls.Examples.TraceOutputWindow
{
    [Example("TraceOutputWindow", "Example of the TraceOutputWindow",
        LongDescription = @"The TraceOutputWindow is a debugging convenience window. It because exactly the same as the TraceOutputControl.",
        SourceFileName = "/Examples/TraceOutputWindow/Code.txt",
        ImageUri = "/Examples/TraceOutputWindow/Screenshot.png",
        ClickHandlerName = "ShowExample")]
    public class Example
    {
        /// <summary>
        /// Shows the example.
        /// </summary>
        private static void ShowExample()
        {
            // Show window
            Windows.TraceOutputWindow traceOutputWindow = new Windows.TraceOutputWindow();
            traceOutputWindow.ShowDialog();
        }
    }
}
